﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SimpleFileManager
{
    public class FileManager
    {
        private static FileManager _instance;

        private FilePanel _leftPanel = new FilePanel();
        private FilePanel _rightPanel = new FilePanel();

        public FilePanel LeftPanel { get { return _leftPanel; } }        
        public FilePanel RightPanel { get { return _rightPanel; } }

        private FileManager()
        {
        }

        public static FileManager Instance
        {
            get
            {
                if (_instance==null)
                {
                    _instance=new FileManager();
                }
                return _instance;
            }
        }
    }
}
